//
//  NSString+Extension.h
//  TPSLIVE
//
//  Created by 唐佳霖 on 2018/1/10.
//  Copyright © 2018年 HS. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (TPSExtension)

- (BOOL)containsHasEmoji;
- (BOOL)containsHasSpecialString;
- (NSURL *)formatUrlString;
- (NSString *)formatString;
- (NSInteger)getMixStringLength; //把emoji字符当作一个字符长度
- (NSString *)base64DecodedString;
- (NSString *)base64EncodedString;

//图片处理(仅"瘦身")
//- (NSString *)getThinImageUrlString;

//过滤中文和图片"瘦身"
- (NSURL *)filterChineseAndThin;
- (NSURL *)getFitAvatarUrl;

- (NSString *)getNewDataStringWithFormat:(NSString *)formatString;
@end
